package cn.sofwin.core.utils.http;

/**
 * HTTP发送反馈
 * @author LetCode
 * @date 2020年04月18日
 *
 */
public class HttpResult {
	/** 状态码 */
	private Integer statusCode;
	
	/** 返回内容 */
	private String content;
	
	public HttpResult(Integer statusCode, String content) {
		super();
		this.statusCode = statusCode;
		this.content = content;
	}

	public Integer getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(Integer statusCode) {
		this.statusCode = statusCode;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "状态码：" + statusCode + "\n返回值：" + content;
	}
}
